-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[576] Add back the afterAll and beforeEach callbacks. The TestRu… #577
Conversation
…daptor.before() and TestRunnerAdaptor.after() need to happen in the beforeEach and afterEach listeners.
87eb8a1
to
76cefee
Compare
Any chance you can test / merge #314 ? |
|
I think we need to decide whether we should be running tests requiring implementations here, or if the implementations should be testing with CI and SNAPSHOT builds. For https://github.com/wildfly/wildfly-arquillian I was planning on adding SNAPSHOT testing there for each push and a nightly job. |
I'm not sure I follow, what do you mean by TestNG failing? |
Testing https://github.com/flowlogix/test-arq-suite/tree/TestNG with Arquillian 1.8.1.Final fails. |
This fix is only for JUnit 5. I'm not sure what would fail with TestNG. I don't really see anything obvious, but you could file a new issue. The error seems to be something like:
Anyway, that's definitely a different issue. |
Unfortunately I can't do a "real" test yet b/c Jakarta 1.8.1 isn't synced to maven central yet... |
It is synched now: |
Confirmed. Both TestNG and JUnit 5 work with the latest SNAPSHOT. |
…nnerAdaptor.before() and TestRunnerAdaptor.after() need to happen in the beforeEach and afterEach listeners.
Short description of what this resolves:
The
BeforeEachCallback
andAfterEachCallback
callbacks need to be added back for JUnit 5. It looks like the resource injection needs to happen in this context to work.resolves #576